Skip to main content

sessionSavePath

Type

property

Summary

Specifies where on the filesystem session data is stored.

Syntax

set the sessionSavePath to <folderPath>

Description

Use the sessionSavePath property to set the path to the location on the server filesystem where session data is stored.

Use the sessionSavePath property to set the path to the location on the server filesystem where session data is stored. If the sessionSavePath property is not set then the standard temporary folder is used.

To set the sessionSavePath back to the default set the sessionSavePath to empty.

note

You do not need to alter any of the session properties in order to start and use sessions. They provide a way for advanced users to configure the way session work.

note

The sessionSavePath property is only available when running in CGI mode (Server).

Parameters

NameTypeDescription

folderPath

the path to a folder

Examples

set the sessionSavePath to myFolder
set the sessionSavePath to "/home/joe"
set the sessionSavePath to empty

property: sessionID, sessionLifetime, sessionName

Compatibility and Support

Introduced

LiveCode 5.0

OS

mac

windows

linux

Platforms

server

Thank you for your feedback!

Was this page helpful?